Description
The Now Playing panel shows current track info but has no playback controls. Add keyboard shortcuts to control Apple Music without opening the kk menu.
Proposed bindings (scoped so they don't conflict with global bindings):
p— play/pause (am play/am pause, oram toggle)Shift+N— next track (am next)Shift+P— previous track (am prev)
These should work globally (not require panel focus) since music control is a frequent action.
Implementation:
- Add to
DashboardApp.BINDINGS - Each binding calls
run_command("am play")etc. via the existing worker — fire-and-forget, no output shown - On success: brief toast "⏸ Paused" / "▶ Playing" / "⏭ Next"
- Show transport controls as static hints below the progress bar in
render_nowplaying:p play/pause ⇧N next ⇧P prev
Acceptance Criteria
- #1 p toggles play/pause
- #2 Shift+N skips to next track
- #3 Shift+P goes to previous track
- #4 Toast notification confirms each action
- #5 Controls hint visible in Now Playing panel
- #6 Bindings work regardless of which panel is focused